<?php
include 'header.php';
?>
<div class="pageBox">
	<div class="catalogBox">
    	<dl>
        	<dt>搜索“<?php echo request('key');?>”的结果</dt>
            <?php foreach($archives as $item):?>
            <dd>
            <label>▪&nbsp;&nbsp;<a href="/archive?id=<?php echo $item['id'];?>" target="_blank"><?php echo $item['title'];?></a></label>
            <span>[<?php echo date('Y-m-d', $item['pubtime']);?>]</span></dd>
            <?php endforeach;?>
            <dd class="pageBreak"><?php echo $page;?></dd>
        </dl>
    </div>
</div>
<?php 
include 'footer.php';
?>